package cn.wolfcode.shop.seckill.vo;

import cn.wolfcode.shop.goods.domain.Good;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter@Getter
public class SeckillGoodVo extends Good {
    private BigDecimal seckillPrice; // 秒杀价格
    private Integer stockCount; // 秒杀数量
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date startDate;// 开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endDate;//结束时间
}
